package com.ss.android.article.base.feature.detail2.picgroup.view;

import android.app.Activity;
import android.view.View;

import com.ss.android.article.base.feature.detail.view.SaveImageBottomDialog;
import com.ss.android.image.model.ImageInfo;

final class k implements View.OnLongClickListener {
    private final PictureDetailLayout.a b;
    private final ImageInfo a;

    k(PictureDetailLayout.a arg1, ImageInfo arg2) {
        this.b = arg1;
        this.a = arg2;

    }

    public final boolean onLongClick(View arg4) {
        PictureDetailLayout v0 = this.b.f;
        ImageInfo v1 = this.a;
        if(v0.f != null && v1 != null && ((v0.f instanceof Activity))) {
            new SaveImageBottomDialog(v0.f, v1).show();
        }

        return true;
    }
}

